

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="utf-8">
<head>
    <title>导入副溶血弧菌</title>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
    <link href="<?php echo base_url()?>css/general.css" rel="stylesheet" type="text/css" />

    <link href="<?php echo base_url()?>css/main.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript" src="<?php echo base_url()?>js/jquery.js"></script>
    <script language="JavaScript"> var base_url = '<?php echo base_url()?>'; </script>
    <script language="javascript" type="text/javascript" src="<?php echo base_url()?>js/admin.js"></script>
    <script language="javascript" type="text/javascript" src="<?php echo base_url()?>js/bootstrap.min.js"></script>
    <script language="javascript" type="text/javascript" src="<?php echo base_url()?>js/bootstrap.js"></script>
    <link href="<?php echo base_url()?>css/bootstrap.css" rel="stylesheet" type="text/css" />
    <link href="<?php echo base_url()?>css/bootstrap.min.css" rel="stylesheet" type="text/css" />

<!--    <script>-->
<!--    function setFile(f1){-->
<!--        var str = f1;-->
<!--        var n = str.lastIndexOf("/")  //获取斜杠最后一次出现的位置-->
<!--        document.frm.logoImg.value= str.substring(n+1);-->
<!--    }-->
<!--    </script>-->

</head>

<body  class=" x-border-layout-ct" style="position: relative;" >
<div class="container navigation">
    <div class="container">

        <div class="row">
            <div class="col-md-8">
                <h1>细菌质谱分类鉴定数据库</h1>
            </div>
        </div>
    </div>
    <div class="container navigation">
        <div class="row">
            <div class="col-md-7">
                <ul class="nav nav-pills">
                    <li class="active"><a href="<?php echo site_url()?>">首页</a></li>
                    <li><a href="<?php echo site_url('c_front_bacteria/')?>">细菌质谱</a></li>
                    <li><a href="<?php echo site_url('c_specimen_admin/')?>">细菌样本</a></li>
                </ul>
            </div>


        </div>
    </div>
    <div class="row">
        <div class="col-md-8">
            <br/><br/>
            <h3>细菌质谱导入:</h3>
            ---------------------------------------------------------------------------<br/>
            <h6 style="color: red">提示：请按步骤导入</h6>
            <h6 style="color: red">1.导入图片 (eg:副溶血孤菌-Vibrio Parahaemolyticus-A1_75-.png)</h6>
            <h6 style="color: red">2.导入数据 (eg:A1_75.xlsx)</h6>
            <h6 style="color: red">3.导入图片 (eg:副溶血孤菌-Vibrio Parahaemolyticus-A2_76-.png)</h6>
            <h6 style="color: red">4.导入数据 (eg:A1_75.xlsx)</h6>
            <h6 style="color: red">...</h6>
            ---------------------------------------------------------------------------<br/>
        </div>
    </div>
    <br/>
    <button class="btn" data-toggle="modal" data-target="#myModal">
        导入图片
    </button>
    <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                        &times;
                    </button>
                    <h4 class="modal-title" id="myModalLabel">
                        导入图片
                    </h4>
                </div>

                <div class="modal-body">
                    <form method="POST" action="<?php echo site_url('c_data/img_upload/'.$idmax)?>" style="text-align: center" enctype="multipart/form-data">
                        <!--                                    <input id="inputSuccess" type="hidden" name="session_user_id" value="--><?php //echo $_SESSION['user_id']; ?><!--"/>-->
                        <!--                                    <input id="inputSuccess" type="hidden" name="session_user_name" value="--><?php //echo $_SESSION['user_name']; ?><!--"/>-->
                        <!--                                    <input id="inputSuccess" type="hidden" name="session_role_id" value="--><?php //echo $_SESSION['role_id']; ?><!--"/>-->
                        <!--                                    <input id="inputSuccess" type="hidden" name="session_logged_in" value="--><?php //echo $_SESSION['logged_in']; ?><!--"/>-->
                        <input type="file" name="userfile" size="20"/>
                        <br><br>
                        描述: <input type="text" name="image_descript" value="<?php //echo $result['bac_name'];?>">
                        <br><br>
                </div>
                <div class="modal-footer">

                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭
                    </button>
                    <input class="btn btn-primary" type=submit name="submit" value="upload"/>
                    </form>
                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal -->
    </div>
    <div><a href='<?php echo site_url('c_data/vdata/'.$idmax)?>' style="text-decoration:none" alt='导入' title='导入'>

                <input style="width: 90px;height: 40px" class="btn" type=submit name="session_Prev" value="导入数据"/>
            </a>
        </div>
    <div class="dd" style="margin: 10px"></div>
</div>
</body>
</html>

